﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using UserDefinedForms.Entities;

namespace UDFDesign.GUIComponent.CustomControl
{
    class DesignableRadioButton:DesignableControl
    {
        public DesignableRadioButton()
        {
        }
        public DesignableRadioButton(FormControl entity)
            : base(entity)
        {
        }
        protected override void initControl()
        {
            this.selfControl = new RadioButton();
            selfControl.Enabled = false;
            this.Controls.Add(selfControl);
            this.Size = selfControl.Size;
        }
        public override ControlTypes ControlType
        {
            get
            {
                return ControlTypes.RadioButton;
            }
        }
    }
}
